﻿using BootstrapBlazor.Components;
using HelloApp.Server.Data;

namespace HelloApp.Server.Components.ViewModel
{
    public class Mattress
    {
        [AutoGenerateColumn(Text ="宽度")]
        public float Width { get; set; }

        [AutoGenerateColumn(Text ="长度")]
        public float Length { get; set; }

        [AutoGenerateColumn(Text = "厚度")]
        public float Height { get; set; }

        [AutoGenerateColumn(Text = "面料")]
        public Material? Fabric { get; set; }

        [AutoGenerateColumn(Text = "包装")]
        public Package Package { get; set; }

        [AutoGenerateColumn(Text ="舒适层材料")]
        public Material? ShuShiMaterial { get; set; }

        [AutoGenerateColumn(Text = "舒适层厚度")]
        public float ShuShiHeight { get; set; }

        [AutoGenerateColumn(Text = "调节层材料")]
        public Material? TiaojieMaterial { get; set; }

        [AutoGenerateColumn(Text = "调节层厚度")]
        public float TiaojieHeight { get; set; }

        [AutoGenerateColumn(Text = "售价")]
        public float Price { get; set; }

        [AutoGenerateColumn(Text = "售价")]
        public float HidePrice { get; set; }


    }

    public enum Package
    {
        牛皮纸,纸箱
    }
}
